package com.crack.nga2.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

import com.crack.nga2.R;

public class PostMessageActivity extends BaseActivity {
    private int uid;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_post_message);
        Intent intent = getIntent();
        uid = intent.getIntExtra("uid", -1);
        if (uid != -1) {
            EditText etUid = $(R.id.user_id);
            etUid.setText(String.valueOf(uid));
        }
    }

    public void doClick(View view) {
        switch (view.getId()) {
            case R.id.action_return:
                finishForAnimation();
                break;
            case R.id.iv_post:
                break;
        }
    }
}
